/*
 * @description: 静态路由
 * @Author: Islands
 * @Date: 2023-06-20 22:41:03
 * @LastEditTime: 2024-03-25 19:03:24
 */
import { RouteRecordRaw } from "vue-router";
import Layout from '@/layout/index.vue';

export const staticRoutes: Array<RouteRecordRaw> = [
    {
        path: '/',
        redirect: '/login',
        component: () => import('../../layout/login/index.vue'),
        children: [
            {
                path: '/login',
                meta: {
                    title: '登录'
                },
                component: () => import('../../views/login/index.vue')
            },
        ]
    },
    {
        path: '/401',
        meta: {
            title: '401',
        },
        component: () => import('../../views/error/401/index.vue')
    },
    {
        path: '/404',
        meta: {
            title: '404',
        },
        component: () => import('../../views/error/404/index.vue')
    },
]